Optimal. Leaf size=51 \[ -\frac{\sinh ^2\left (a+b x^2\right )}{8 b^2}+\frac{x^2 \sinh \left (a+b x^2\right ) \cosh \left (a+b x^2\right )}{4 b}-\frac{x^4}{8} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0499978, antiderivative size = 51, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.214, Rules used = {5320, 3310, 30} \[ -\frac{\sinh ^2\left (a+b x^2\right )}{8 b^2}+\frac{x^2 \sinh \left (a+b x^2\right ) \cosh \left (a+b x^2\right )}{4 b}-\frac{x^4}{8} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5320
Rule 3310
Rule 30
Rubi steps
\begin{align*} \int x^3 \sinh ^2\left (a+b x^2\right ) \, dx &=\frac{1}{2} \operatorname{Subst}\left (\int x \sinh ^2(a+b x) \, dx,x,x^2\right )\\ &=\frac{x^2 \cosh \left (a+b x^2\right ) \sinh \left (a+b x^2\right )}{4 b}-\frac{\sinh ^2\left (a+b x^2\right )}{8 b^2}-\frac{1}{4} \operatorname{Subst}\left (\int x \, dx,x,x^2\right )\\ &=-\frac{x^4}{8}+\frac{x^2 \cosh \left (a+b x^2\right ) \sinh \left (a+b x^2\right )}{4 b}-\frac{\sinh ^2\left (a+b x^2\right )}{8 b^2}\\ \end{align*}
Mathematica [A] time = 0.101511, size = 42, normalized size = 0.82 \[ -\frac{2 b x^2 \left (b x^2-\sinh \left (2 \left (a+b x^2\right )\right )\right )+\cosh \left (2 \left (a+b x^2\right )\right )}{16 b^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.029, size = 55, normalized size = 1.1 \begin{align*} -{\frac{{x}^{4}}{8}}+{\frac{ \left ( 2\,b{x}^{2}-1 \right ){{\rm e}^{2\,b{x}^{2}+2\,a}}}{32\,{b}^{2}}}-{\frac{ \left ( 2\,b{x}^{2}+1 \right ){{\rm e}^{-2\,b{x}^{2}-2\,a}}}{32\,{b}^{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.0896, size = 80, normalized size = 1.57 \begin{align*} -\frac{1}{8} \, x^{4} + \frac{{\left (2 \, b x^{2} e^{\left (2 \, a\right )} - e^{\left (2 \, a\right )}\right )} e^{\left (2 \, b x^{2}\right )}}{32 \, b^{2}} - \frac{{\left (2 \, b x^{2} + 1\right )} e^{\left (-2 \, b x^{2} - 2 \, a\right )}}{32 \, b^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.67135, size = 142, normalized size = 2.78 \begin{align*} -\frac{2 \, b^{2} x^{4} - 4 \, b x^{2} \cosh \left (b x^{2} + a\right ) \sinh \left (b x^{2} + a\right ) + \cosh \left (b x^{2} + a\right )^{2} + \sinh \left (b x^{2} + a\right )^{2}}{16 \, b^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 2.55508, size = 78, normalized size = 1.53 \begin{align*} \begin{cases} \frac{x^{4} \sinh ^{2}{\left (a + b x^{2} \right )}}{8} - \frac{x^{4} \cosh ^{2}{\left (a + b x^{2} \right )}}{8} + \frac{x^{2} \sinh{\left (a + b x^{2} \right )} \cosh{\left (a + b x^{2} \right )}}{4 b} - \frac{\sinh ^{2}{\left (a + b x^{2} \right )}}{8 b^{2}} & \text{for}\: b \neq 0 \\\frac{x^{4} \sinh ^{2}{\left (a \right )}}{4} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.17557, size = 158, normalized size = 3.1 \begin{align*} -\frac{4 \,{\left (b x^{2} + a\right )}^{2} - 8 \,{\left (b x^{2} + a\right )} a - 2 \,{\left (b x^{2} + a\right )} e^{\left (2 \, b x^{2} + 2 \, a\right )} + 2 \, a e^{\left (2 \, b x^{2} + 2 \, a\right )} + 2 \,{\left (b x^{2} + a\right )} e^{\left (-2 \, b x^{2} - 2 \, a\right )} - 2 \, a e^{\left (-2 \, b x^{2} - 2 \, a\right )} + e^{\left (2 \, b x^{2} + 2 \, a\right )} + e^{\left (-2 \, b x^{2} - 2 \, a\right )}}{32 \, b^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]